package com.stone.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "PRODUCER-SERVICE")
public interface ProduceClient {

//    @GetMapping("/function")
    @RequestMapping(value = "/produce/function", method = RequestMethod.GET)
    public String function();

}
